home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / os20 / wb / uhr101.lha / Uhr.doc < prev    next >
Text File  |  1992-09-21  |  3KB  |  97 lines

  1.  
  2.  
  3.                                     Uhr
  4.  
  5.                                     by
  6.  
  7.                                Stefan Sticht
  8.  
  9.                                PUBLIC DOMAIN
  10.  
  11.  
  12. Uhr is a small, configurable digital clock (Uhr  is  the  german  word  for
  13. clock). Uhr requires at least Kickstart 2.04 and Workbench 2.1.  Just  look
  14. if you have a locale.library, at least V38. If not, you can't use Uhr.
  15.  
  16. Options and Tool Types:
  17.  
  18. UPDATESECONDS   / after how many seconds and
  19. UPDATEMICROS    \ microseconds should the display be updated
  20.  
  21. LEFT            / top left
  22. TOP             \ edge of window
  23.  
  24. WINDOWTOFRONT   - put Uhr's window to front if you update it
  25.  
  26. PRIORITY        - priority to run Uhr, I suggest you to use -1
  27.  
  28. PUBSCREEN       - pubscreen to open the window on
  29.  
  30. FORMAT          - format of Uhr's display, you may use the following
  31.                   commands and any text:
  32.  
  33.                     %a - abbreviated weekday name
  34.                     %A - weekday name
  35.                     %b - abbreviated month name
  36.                     %B - month name
  37.                     %c - same as "%a %b %d %H:%M:%S %Y"
  38.                     %C - same as "%a %b %e %T %Z %Y"
  39.                     %d - day number with leading 0s
  40.                     %D - same as "%m/%d/%y"
  41.                     %e - day number with leading spaces
  42.                     %h - abbreviated month name
  43.                     %H - hour using 24-hour style with leading 0s
  44.                     %I - hour using 12-hour style with leading 0s
  45.                     %j - julian date
  46.                     %m - month number with leading 0s
  47.                     %M - the number of minutes with leading 0s
  48.                     %n - insert a linefeed
  49.                     %p - AM or PM strings
  50.                     %q - hour using 24-hour style
  51.                     %Q - hour using 12-hour style
  52.                     %r - same as "%I:%M:%S %p"
  53.                     %R - same as "%H:%M"
  54.                     %S - number of seconds with leadings 0s
  55.                     %t - insert a tab character
  56.                     %T - same as "%H:%M:%S"
  57.                     %U - week number, taking Sunday as first day of week
  58.                     %w - weekday number
  59.                     %W - week number, taking Monday as first day of week
  60.                     %x - same as "%m/%d/%y"
  61.                     %X - same as "%H:%M:%S"
  62.                     %y - year using two digits with leading 0s
  63.                     %Y - year using four digits with leading 0s
  64.  
  65.                     examples:
  66.  
  67.                     FORMAT "%a %d.%m.%y %X"
  68.                     FORMAT "Today is %a, %T"
  69.  
  70.                  Please note that the resulting display is localized and
  71.                  variies with the language you selected in Locale.
  72.  
  73. To start Uhr with every boot, put Uhr in your WBStartup drawer or add this
  74. line to your User-Startup:
  75.  
  76.                        Run >NIL: <path>Uhr <options>
  77.  
  78. e.g.
  79.  
  80.                 Run >NIL: Tools:Uhr FORMAT "%a %d.%m.%y %X"
  81.  
  82.  
  83. Have fun with it!
  84.  
  85.  
  86. If you have any suggestions,  bug  reports  etc.,  feel  free  to
  87. contact me at the below address.
  88.  
  89.  
  90.          Stefan Sticht
  91.          Bibereckerweg 40a
  92.          D-8390 Passau 18
  93.          Germany
  94.  
  95.          EMail: sticht@edith.deg.sub.org
  96.          Fido: Stefan Sticht (2:246/200.4)
  97.